package com.hexb.smh.entity.param.log;

import com.hexb.core.model.enums.OrderType;
import com.hexb.smh.entity.enums.OperationQuerySortColumn;
import com.hexb.smh.entity.enums.OperationResult;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author : hexb
 */
@Data
public class OperationLogQueryParam {

    @ApiModelProperty("操作结果:success/failed")
    private OperationResult result;

    @ApiModelProperty("时间段:起(时间戳)")
    private Long beginTime;

    @ApiModelProperty("时间段:止(时间戳)")
    private Long endTime;

    @ApiModelProperty("操作名称")
    private String operationName;

    @ApiModelProperty("操作人员id")
    private Integer accountId;

    @ApiModelProperty("可排序的列")
    private OperationQuerySortColumn sortKey;

    @ApiModelProperty("排序方式")
    private OrderType sortType;
}
